/*
 * @Author: cygao
 * @Date: 2018-11-09 13:58:25
 * @Last Modified by: cygao
 * @Last Modified time: 2018-11-20 18:58:13
 * 求职简历
 */
import React, { Component } from 'react';
import './resume.less';

export default class Resume extends Component {
    constructor() {
        super()
    }
    render() {
        let data = this.props.data
        return (
            <div className="resume-container">
              <div className="name">{data.username}</div>
              <div className="time">{data.created_at}</div>
              <ul>
                <li>
                  <i className="icon icon-job"></i>
                  <span>意向职位：{data.intention}</span>
                </li>
                <li>
                  <i className="icon icon-area"></i>
                  <span>地区：{data.city.name} {data.province.name} {data.district.name}</span>
                </li>
                <li>
                  <i className="icon icon-mobile"></i>
                  <span>手机号码：{data.phone}</span>
                </li>
              </ul>
            </div>
        )
    }
}
